# import requests
# import re
# from bs4 import BeautifulSoup
#
#
# headers = {
#
#     'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 '
#                   'Safari/537.36 Edg/134.0.0.0'
# }
#
#
# result_url = requests.get(f"https://www.biqu03.cc/read/50125/1.html", headers=headers)
# result_content = result_url.content.decode()
# soup = BeautifulSoup(result_content, 'html.parser')
# novel_content_div = soup.find(id='chaptercontent')
# novel_content = novel_content_div.get_text(strip=True)
# if novel_content_div:
#     # 获取文本内容，保留换行符
#     novel_content = novel_content_div.get_text(separator='\n')
#     print(novel_content)
# else:
#     print("未找到小说内容区域。")
#
#
